【Python】解决Python报错:AttributeError: ‘str‘ object has no attribute ‘xxx‘

成功解决Python报错:AttributeError:‘str‘objecthasnoattribute‘xxx‘。`AttributeError:\'str\'objecthasnoatt...